package com.zhiyi.coco.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class SysUser {
    private Integer id;
    private String username;
    private String password;
    private String salt;
    private Date createTime;
    private Date updateTime;
    public Boolean state;
    //登录用户名
    private String name;
    //登录用户性别
    private String sex;
    //登录用户年龄
    private Integer age;
    //登录用户电话
    private String phone;
    //登录用户地址
    private String address;
    //登录用户职位
    private String job;
    //登录用户头像
    private String img;
    //登录用户职位
    private String jobtype;
    //多个角色
    private List<String> roles;
    //多个权限
    private List<String> resources;

}